﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <script src="js/jquery-2.1.4.min.js"></script>
    <script src="js/jquery.cookie.js"></script>
    <script src="js/methods.js" type="text/javascript" charset="utf-8"></script>
    <script>
        jQuery(function () {
        		var id=getQueryString("openid");
        		if(id==""||id==null){
        			id=0;
        		}
//      		alert(openid);
	        	var url = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx4156160c4f1640e1&redirect_uri=http://jkera.cn/vivi/Userbase.php?id="+id+"&response_type=code&scope=snsapi_base&state=fabu#wechat_redirect";
	            location.href = encodeURI(url);
        })

    </script>
</head>
<body>

</body>
</html>
